export class R{

    static ok(data){
        return {
            code: 0,
            data,
            msg: 'success'
        }
    }

    static error(msg){
        return {
            code: -1,
            data: null,
            msg,
        }
    }

}